package c.e.a.b.b;

import c.e.a.b.b.j.a;
import c.e.a.b.b.j.e;
import com.pgl.sys.ces.out.ISdkLite;
import java.util.concurrent.Callable;

public final /* synthetic */ class o implements Callable {
    public final boolean a;
    public final String b;
    public final p c;

    public o(boolean z, String str, p pVar) {
        this.a = z;
        this.b = str;
        this.c = pVar;
    }

    public final Object call() {
        boolean z = this.a;
        String str = this.b;
        p pVar = this.c;
        int i = 0;
        Object obj = (z || !n.a(str, pVar, true, false).a) ? null : 1;
        Object[] objArr = new Object[5];
        objArr[0] = obj != null ? "debug cert rejected" : "not whitelisted";
        objArr[1] = str;
        byte[] digest = a.a("SHA-1").digest(pVar.J0());
        char[] cArr = new char[(digest.length << 1)];
        int i2 = 0;
        while (i < digest.length) {
            int i3 = digest[i] & ISdkLite.REGION_UNSET;
            int i4 = i2 + 1;
            char[] cArr2 = e.b;
            cArr[i2] = cArr2[i3 >>> 4];
            i2 = i4 + 1;
            cArr[i4] = cArr2[i3 & 15];
            i++;
        }
        objArr[2] = new String(cArr);
        objArr[3] = Boolean.valueOf(z);
        objArr[4] = "12451009.false";
        return String.format("%s: pkg=%s, sha1=%s, atk=%s, ver=%s", objArr);
    }
}
